I think that only applies to properties that are occupied legally, as part of a contract. I do not think this statute applies to squatters.
Oral contracts are clearly covered in the law, as are unspecified terms and free rent for work.
Any decent lawyer should have those bums out quickly.
He’s in the military, so JAG should help him.