A garda in Co Kerry has pleaded guilty to a charge of possession a controlled drug at a hotel room in Tralee in 2021.