Back in 1979-77, I was assigned, every 6th day, to accompany the US Navy Shore Patrol in Olongapo City as the USMC representative, whenever our battalion was in port at Subic Bay. Olongapo had about every sexual perversion known to man back then. I suppose several dozen new perversions have been invented in the past 40+ years.
When our battalion was back on Okinawa, we had a young enlisted Marine "roll" a drunk Okinawan man. I was assigned to be the observer for the USMC and the USA at his trial. Their country, their law, their citizen, so we had no say - just observe. IIRC, he may have had a USMC JAG officer as an advisor, not legal defense. The "word" was that unless you had someone bringing you additional food, you might not survive a two year sentence...
"Keep your nose clean"
I was permanent Shore Patrol from 74-76. Started off on patrol duty, (paddy wagon), then went to dispatcher and finally to Liaison Officer. I was assigned a desk in the Olongapo P.D and any military member who came in as a suspect or victim had to go through my desk before they could go to the desk sergeant. Once a month I was tasked with providing the incarcerated sailors, marines or airmen with a “care” package of canned foods, coffee, sugar, cup of noodles and cigarettes.
All of these items were used as trade for protection. The jail was filthy, no fans or AC, overcrowded and had benches for sitting. Sleeping was on the floor because there were only a few bunks in each cell. Toilets were buckets and the stench was constantly there.
You did not want to be in the local jail. The national government prisons were totally different. There was a retired Chief who was arrested for possession of a firearm and was sent to the national prison. Because he was a retired cook, (actually he was a great chef), he was put in charge of the kitchen, had a private cell, tv, fans, a stateside style queen bed and mattress and was escorted to town 2-4 nights a week to the local bars for entertainment.
With money and connections prison life in the Philippines can be very comfortable.