Obvious solution: don"t allow that dog inside your house, ever. Or else keep him crated all the time he is inside.
No way would I ever put up with ANY dog "marking his territory" in MY HOUSE. I doubt that you can train this dog to mind his manners at this late date.
Or you could tell your son that he needs to make other arrangements for taking care of the dog. Good luck!